package com.csair.seam.domain.model.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description 设备实体
 * @author lanrunli
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel
@TableName("PAM_EQUIP")
public class Equip implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "pk_equip")
	private String id;
	
	
    @ApiModelProperty(value="设备编码")
	private String code;

    @ApiModelProperty(value="设备名称")
	private String name;
	
    @ApiModelProperty(value="品牌")
	private String spec;
	
    @ApiModelProperty(value="型号")
	private String model;
	
    @ApiModelProperty(value="使用部门id")
	private String useDept;
	
    @ApiModelProperty(value="使用部门名称")
	private String useDeptName;
	
    @ApiModelProperty(value="管理部门id")
	private String manDept;
	
    @ApiModelProperty(value="管理部门名称")
	private String manDeptName;
	
    @ApiModelProperty(value="启用日期")
	private String startUsedDate;
	
    @ApiModelProperty(value="责任人id")
	private String user;
    
    @ApiModelProperty(value="责任人员工号")
	private String userCode;
	
    @ApiModelProperty(value="责任人名称")
	private String userName;
	
    @ApiModelProperty(value="设备状态id")
	private String usedStatus;
	
    @ApiModelProperty(value="设备状态名称")
	private String usedStatusName;
	
    @ApiModelProperty(value="位置id")
	private String location;
	
    @ApiModelProperty(value="位置名称")
	private String locationName;
	
    @ApiModelProperty(value="使用月限")
	private Integer serviceMonth;
	
    @ApiModelProperty(value="原值")
	private Double originValue;
	
    @ApiModelProperty(value="累计折旧")
	private Double accuDep;
	
    @ApiModelProperty(value="月折旧额")
	private Double depAmount;
	
    @ApiModelProperty(value="净值")
	private Double newValue;
	
    @ApiModelProperty(value="设备类别id")
	private String category;
	
    @ApiModelProperty(value="设备类别名称")
	private String categoryName;
	
    @ApiModelProperty(value="资产组织id")
	private String org;
	
    @ApiModelProperty(value="资产组织名称")
	private String orgName;
    
    @ApiModelProperty(value="是否固定资产")
    private String faFlag;
    
    @ApiModelProperty(value="是否已转固")
    private String def47;
    
    @ApiModelProperty(value="关键程度id")
    private String priority;
    
    @ApiModelProperty(value="关键程度")
	private String priorityName;
    
    @ApiModelProperty(value="资金来源id")
    private String capitalSource;
    
    @ApiModelProperty(value="资金来源")
	private String sourceName;
    
    @ApiModelProperty(value="条形码")
    private String barCode;
    
    @ApiModelProperty(value="合同号")
    private String def14;
    
    @ApiModelProperty(value="预算编号")
    private String def45;
    
    @ApiModelProperty(value="转固人id")
    private String def44;
    
    @ApiModelProperty(value="转固人")
    private String def44Name;
    
    @ApiModelProperty(value="转固时间")
    private String def48;
    
    @ApiModelProperty(value="来源单据号")
    private String billCodeSrc;
    
    @ApiModelProperty(value="备注一")
    private String def49;
    
    @ApiModelProperty(value="备注二")
    private String def9;
    
    @ApiModelProperty(value="备注三")
    private String def13;
    
    @ApiModelProperty(value="采购币种id")
    private String currencyPurc;
    
    @ApiModelProperty(value="采购币种")
	private String currtypeName;
    
    @ApiModelProperty(value="采购价格")
    private Double purcPrice;
    
    @ApiModelProperty(value="供应商id")
    private String supplier;
    
    @ApiModelProperty(value="供应商")
    private String supplierName;
    
    @ApiModelProperty(value="制造商")
    private String facturerName;
    
    @ApiModelProperty(value="技术参数列表")
    private List<EquipCategoryParam> params;
    
}
